<polymer-element name="x-bar">
  <script>
    chai.assert.throw(Polymer, 'You tried to use polymer without loading it first.');
  </script>
</polymer-element>